package com.xinyues.gamemanager.dao.entity;

import java.util.ArrayList;
import java.util.List;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import com.xinyues.gamemanager.dao.entity.model.Permission;

/**
 * 
 * @ClassName: BtnMenu 
 * @Description: 安钮连接
 * @author: wang guang shuai
 * @date: 2019年12月6日 下午8:31:55
 */
@Document
public class GmPermission {
    @Id
    private String id; //叶子菜单id
    private List<Permission> children = new ArrayList<>(); //此菜单下所有的子按钮权限。
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public List<Permission> getChildren() {
        return children;
    }
    public void setChildren(List<Permission> children) {
        this.children = children;
    }
   
   
    
}
